home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
comm
/
mail
/
Hurl.lha
/
Hurl!
/
configyam4hurl.rexx
next >
Wrap
OS/2 REXX Batch file
|
1998-11-25
|
1KB
|
46 lines
/* ConfigYAM4Hurl.rexx
$VER: 1.1 Copyright ©1998 by Ralph Torchia
This will config YAM:.config for Hurl v2
** DO NOT EDIT or EXECUTE OUTSIDE INSTALLER SCRIPT!!! **
*/
PARSE ARG automode
done=false
yamconfig = 'YAM:.config'
config0 = 'Rexx20.Script = YAM:Rexx/Hurl'
config1 = 'Rexx20.IsAmigaDOS= Y'
config2 = 'Rexx20.UseConsole= N'
config3 = 'Rexx20.WaitTerm = N'
IF automode = 'auto' THEN config0 = 'Rexx20.Script = YAM:Rexx/Hurl AUTO'
IF ~(Open('config',yamconfig,'R')) THEN EXIT
CALL Open('output',"T:temp.yamconfig",'W')
DO WHILE ~EOF('config')
line$ = Readln('config')
IF ((line$ = "Rexx19.WaitTerm = Y") | (line$ = "Rexx19.WaitTerm = N")) & (done=false) THEN DO
CALL Writeln('output',line$)
CALL Writeln('output',config0)
CALL Writeln('output',config1)
CALL Writeln('output',config2)
CALL Writeln('output',config3)
DO i = 0 to 3
line$ = Readln('config')
END
END
ELSE
CALL Writeln('output',line$)
END
CALL Close('output')
CALL Close('config')
ADDRESS COMMAND "Copy T:temp.yamconfig YAM:.config"
cleanup:
ADDRESS COMMAND "C:Delete T:temp.yamconfig"
EXIT